package com.game.backend.controller.user.bot;

import com.game.backend.service.user.bot.RemoveService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Map;

@RestController
@RequestMapping("/user/bot")
public class RemoveController {
    @Autowired
    private RemoveService removeService;

    @RequestMapping("/remove")
    public Map<String,String> removeBot(int id){
        return removeService.remove(id);
    }
}
